#include<iostream>
#include<unistd.h>
#include<stdio.h>

using namespace std;

int main(int argc,char* argv[],char* env[])
{
    cout<<"Hello C++!"<<"My pid is："<<getpid()<<endl;
    for(int i = 0;argv[i];++i)
    {
        printf("argv[%d]:%s\n",i,argv[i]);
    }
    cout<<endl;
    for(int i = 0; env[i];++i)
    {
        printf("env[%d]:%s\n",i,env[i]);
    }
    return 0;
}








